<%--
  Created by IntelliJ IDEA.
  User: 谢兴鑫
  Date: 2022/5/13
  Time: 上午 09:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
</head>
<body>

<table class="layui-table">
    <thead>
    <tr>
        <th>流程版本</th>
        <th>流程名称</th>
        <th>流程KEY</th>
        <th>删除流程</th>
        <th>查看流程图</th>
        <th>下载流程图</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${stuquertList}" var="pd">
        <tr style="color: #ff5048">
            <td>${pd.id }</td>
            <td>${pd.name }</td>
            <td>${pd.key }</td>
            <td><a href="${pageContext.request.contextPath}/holidaystudent/studelprod?id=${pd.deploymentId}" onclick="return confirm('是否删除该流程？');">删除流程</a></td>
            <td><a href="${pageContext.request.contextPath}/holidaystudent/stuviewImage?id=${pd.deploymentId}&imageName=${pd.diagramResourceName}">查看流程图</a></td>
            <td><a href="${pageContext.request.contextPath}/holidaystudent/stutoExport?id=${pd.id}">下载流程图</a></td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>
